package com.java1412.common.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author java1412
 * @since 2025-05-21 9:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class PageUtil<T> implements Serializable {
    private Integer currentPageNo = 1;
    private Integer pageSize = ConstantUtil.PAGE_SIZE;
    private Integer totalCount = 0;
    // private Integer totalPageCount = 0;
    private List<T> data;
}
